object Form2: TForm2
  Left = 0
  Top = 0
  BorderStyle = bsToolWindow
  Caption = #20135#21697#31867#21035
  ClientHeight = 275
  ClientWidth = 255
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Position = poOwnerFormCenter
  Visible = True
  PixelsPerInch = 96
  TextHeight = 13
  object dxDBTreeView1: TdxDBTreeView
    Left = 8
    Top = 8
    Width = 237
    Height = 217
    ShowNodeHint = True
    DataSource = UniDataSource1
    DisplayField = 'Name'
    KeyField = 'ProductCategoryID'
    ListField = 'Name'
    ParentField = 'ParentID'
    RootValue = Null
    SeparatedSt = ' - '
    RaiseOnError = True
    ReadOnly = True
    Indent = 19
    ParentColor = False
    Options = [trDBCanDelete, trDBConfirmDelete, trCanDBNavigate, trSmartRecordCopy, trCheckHasChildren]
    SelectedIndex = -1
    TabOrder = 0
    OnDblClick = dxDBTreeView1DblClick
    PopupMenu = PopupMenu1
  end
  object ButtonEdit: TButton
    Left = 8
    Top = 240
    Width = 75
    Height = 25
    Caption = 'Edit'
    TabOrder = 1
    OnClick = ButtonEditClick
  end
  object ButtonSave: TButton
    Left = 170
    Top = 240
    Width = 75
    Height = 25
    Caption = 'Save'
    Enabled = False
    TabOrder = 2
    OnClick = ButtonSaveClick
  end
  object ButtonCancel: TButton
    Left = 89
    Top = 240
    Width = 75
    Height = 25
    Caption = 'Cancel'
    Enabled = False
    TabOrder = 3
    OnClick = ButtonCancelClick
  end
  object UniTable1: TUniTable
    TableName = 'ProductCategories'
    Connection = DataModule1.UniConnection1
    Active = True
    Left = 32
    Top = 128
  end
  object UniDataSource1: TUniDataSource
    DataSet = UniTable1
    Left = 120
    Top = 128
  end
  object PopupMenu1: TPopupMenu
    OnPopup = PopupMenu1Popup
    Left = 128
    Top = 176
    object N1: TMenuItem
      Action = ActionAddRootCategory
    end
    object N2: TMenuItem
      Action = ActionAddChildCategory
    end
    object N3: TMenuItem
      Action = ActionModifyCategory
    end
    object N4: TMenuItem
      Action = ActionDeleteCategory
    end
  end
  object ActionList1: TActionList
    Left = 24
    Top = 176
    object ActionAddRootCategory: TAction
      Caption = #22686#21152#22823#31867
      OnExecute = ActionAddRootCategoryExecute
    end
    object ActionAddChildCategory: TAction
      Caption = #22686#21152#23376#31867
      OnExecute = ActionAddChildCategoryExecute
    end
    object ActionModifyCategory: TAction
      Caption = #20462#25913#31867#21035
      OnExecute = ActionModifyCategoryExecute
    end
    object ActionDeleteCategory: TAction
      Caption = #21024#38500#31867#21035
      OnExecute = ActionDeleteCategoryExecute
    end
  end
end
